home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- SetRev
- SetRev SetRev
-
- COPYRIGHT
- SetRev is *COPYRIGHT* (C) by Alexander Sieb in 1992-1994.
-
- LICENSE
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- NAME
- SetRev v1.42 - An update of SetRev v1.41 - Requires V37
-
- SYNOPSIS
- SetRev - A tool to automatically handle version and revision of your
- program.
-
- FUNCTION
- SetRev will create a revision file stamp that indicates your current
- revision. With each call your revision is increased by one and three
- files are generated. A C header file, an ASM header file and an ANSI
- C source file. In these files several information about version,
- revision, date and time at compilation time of your program is saved.
- With these files you can easily the development state of your work,
- version can be recognized by its version and revision number.
-
- INPUTS
- The SetRev options are as follows:
-
- VER/N/A - Indicates the current version of your product.
-
- FILE/A - This is the file where the revision stamp is saved to.
- Each call of setrev increases the revsions by one.
- SetRev automatically adds the suffix '.rev' to the file.
- If the project name is CEK i recommend to name the file:
- CEK_REV or CEK_REV.rev.
-
- REV/N/K - This sets the revision to a given number. Don't use this
- in makefiles, because SetRev won't increase the revsion.
-
- OBJ/K - Defines your project name. This is set by default to
- FILE/A without its suffix, but with its full path.
-
- QUIET/S - This switches the standard terminal output off.
-
- DEP/K - Defines a file that is looked for each call. If DEP/K is
- newer than FILE/A the revision is increased. In any other
- case all is left as it is.
-
- SHOWREV/S - This prevents SetRev from printing all messages except
- error messages and the new revision.
-
- NOASM/S - This switches ASM header file creation off.
-
- NOC/S - This switches C header file creation off.
-
- NOANSI/S - This switches ANSI C source file creation off.
-
-
-
- RESULTS
- Four files are created by default: FILE.rev, FILE.c, FILE.h and FILE.i.
- The contents are as follows:
-
- /* C Headerfile created by SetRev 1.42 */
-
- #define VERSION 1
- #define REVISION 11
- #define DATE "01.08.93"
- #define VERS "t:t 1.11"
- #define VSTRING "t:t 1.11 (01.08.93)\n\r"
- #define VSTRING2 "t:t 1.11 (01.08.93)"
- #define VERSTAG "\0$VER: t:t 1.11 (01.08.93)"
-
- /* ANSI C file created by SetRev 1.42 */
-
- const unsigned long Version = 1;
- const unsigned long Revision = 8;
- const unsigned char CreationDate[] = {"01.08.93"};
- const unsigned char CreationTime[] = {"14:08:24"};
- const unsigned char VersionTag[] = {"\0$VER: t:T 1.8 (01.08.93)"};
-
- ; ASM Headerfile created by SetRev 1.42
-
- VERSION EQU 1
- REVISION EQU 11
- DATE MACRO
- dc.b '01.08.93'
- ENDM
- VERS MACRO
- dc.b 't:t 1.11'
- ENDM
- VSTRING MACRO
- dc.b 't:t 1.11 (01.08.93)',13,10,0
- ENDM
- VSTRING2 MACRO
- dc.b 't:t 1.11 (01.08.93)',0
- ENDM
- VERSTAG MACRO
- dc.b 0,'$VER: t:t 1.11 (01.08.93)',0
- ENDM
-
- BUGS
- NONE ?
-